package com.ynny.extends_.bean08;

public class ObjectTest {

    public static void main(String[] args) {

        //Object : 是Java 所有类 祖宗类 它会默认被 继承
        //return getClass().getName() + "@" + Integer.toHexString(hashCode());
        Person person = new Person();
//        System.out.println(person);
        System.out.println(person.toString());

       Object o = new Student();

       System.out.println(o.getClass());



    }
}
